package org.pisces.wechat.po;

import javax.persistence.Id;
import javax.persistence.Table;

import org.pisces.wechat.enums.EMenuType;

/**
 * <br>创建日期：2017年9月12日
 * @author 宋旋 <369178133@qq.com>
 * @since 1.0
 * @version 1.0
 */
@Table(name = "t_menu")
public class Menu {

	@Id
	private int id;

	private String name;

	private String menuKey;

	private String url;

	private String mediaId;
	
	private EMenuType type;
	
	private int parentId;
	
	private int orderNum;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getMediaId() {
		return mediaId;
	}

	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}


	public int getParentId() {
		return parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	public int getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(int orderNum) {
		this.orderNum = orderNum;
	}

	public String getMenuKey() {
		return menuKey;
	}

	public void setMenuKey(String menuKey) {
		this.menuKey = menuKey;
	}

	public EMenuType getType() {
		return type;
	}

	public void setType(EMenuType type) {
		this.type = type;
	}

}
